package com.itheima.dao;

/*
*@ClassName: PermissionDao
*@author: 海绵宝宝
*@date: 2019/7/26
*@time:   10:01
*/

import com.github.pagehelper.Page;
import com.itheima.pojo.Permission;

import java.util.Set;

public interface PermissionDao {
    void add(Permission permission);

    Set<com.itheima.pojo.Permission> findByRoleId(Integer id);

    Page<Permission> findPage(String queryString);
}
